package com.purchase.manage.service;

import com.purchase.common.exception.file.InvalidExtensionException;
import com.purchase.manage.damian.DAO.SupplierDAO;
import com.purchase.manage.damian.Supplier;

import java.io.IOException;

public interface IManageSupplierService {

    //检查重复注册 以及注册
    int checkSupplier(SupplierDAO supplier) throws IOException, InvalidExtensionException;

    //修改个人供应商信息
    void updateSupplier(SupplierDAO supplier);


    //查看供应商信息
    Supplier selectSupplier(Long supplierId);
}
